#ifndef LABELED_H
#define LABELED_H

#include <stdlib.h>
#include <string>
#include <sstream>

class Labeled {
public:
    void init_label(const std::string& name, int ID);

    void append_label_digit(int digit);

    //
    // public attributes:
    //
    std::string label; // the multi-digit label built up through the HGC alg.
    double x,y;        // 2D position (for visualization, not distance calc).
    std::string name;  // name, used for visualization.
    int ID;            // index into "items" for this item
    int color;         // used for partitioning, copied from this item's
                       // corresponding node on the fnf graph.
};

#endif
